//
//  ALPEditorPlayCell.m
//  AlpFM
//
//  Created by dllo on 16/1/29.
//  Copyright © 2016年 Alp. All rights reserved.
//

#import "ALPEditorPlayCell.h"

@interface ALPEditorPlayCell ()
@property (nonatomic, strong) UILabel *labelTitle;
@property (nonatomic, strong) UIImageView *fangkuai;
@end

@implementation ALPEditorPlayCell



-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self creat];
    }
    return self;
}
-(void)creat{
    self.fangkuai = [[UIImageView alloc]initWithFrame:CGRectMake(10, 25, 15, 15)];
    self.fangkuai.image = [UIImage imageNamed:@"fangkuai"];
    [self.contentView addSubview:self.fangkuai];
    
    self.labelTitle = [[UILabel alloc]initWithFrame:CGRectMake(50, 10, 300, 50)];
    self.labelTitle.numberOfLines = 2;
    [self.contentView addSubview:self.labelTitle];
    
    
    
    
}
-(void)setModel:(ALPEditorTrackTwoModel *)model{
    self.labelTitle.text = model.title;
}










- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
